How to: Change a control in a form.

Solution:


In the Form Design view, select the 'Format' menu, select 'Change To' and select the desired control to change to from the submenu.

NOTE: If the control listed in the submenu is dimmed, that option is not available because the option is not of the same Control category.
EXAMPLE 1: If the control selected to change is a list box, the only options available to change to are label box, list box or combo box.
EXAMPLE 2: If the control selected to change is a check box, the only options available to change to are toggle button and option button.
EXAMPLE 3: If the control selected to change is a list box, the only options available to change to are text box and combo box.
EXAMPLE 4: If the control selected to change is a combo box, the only options available to change to are text box and list box.
NOTE 1: The appropriate settings from the original control are copied to the new control.
NOTE 2: If a property exists for the original control and not for the new control, the property is not copied.
NOTE 3: If a property exists for the new control but not the original control, the property is set to the default control style for that control type.